//
// Triangle.cpp for bomberman in /home/noboa_y//noboa-y-global/yn
//
// Made by youri noboa
// Login   <noboa_y@epitech.net>
//
// Started on  Fri Apr 20 15:03:07 2012 youri noboa
// Last update Fri Apr 20 15:24:35 2012 youri noboa
//

#include	"Triangle.hh"

namespace	Primitive
{
  void		Triangle::initialize(void)
  {
  }

  void		Triangle::update(const gdl::GameClock &gameClock, gdl::Input &input)
  {
    (void)gameClock;
    (void)input;
  }

  void		Triangle::draw(void)
  {
    glBegin(GL_TRIANGLES);
    glColor3f(1.0f, 0.50f, 0.75f);
    glVertex3f(0.0f, 150.0f, 0.0f);
    glVertex3f(-150.0f, 0.0f, 0.0f);
    glVertex3f(150.0f, 00.0f, 0.0f);
    glEnd();
  }
}
